package com.activeshare.edu.ucenter.models.qanda;

import java.util.List;

import com.activeshare.edu.ucenter.models.base.QaExperts;
import com.activeshare.edu.ucenter.models.base.QaQuestions;
import com.activeshare.edu.ucenter.models.base.UserProfile;

/**
 * 问题模型
 *
 * @author zhongtao
 */
public class Question extends QaQuestions{
	List<Answer> answers ;

	//提问者
    private UserProfile userProfile;

    //指定回答问题的专家
    private QaExperts expert;
    
    public QaExperts getExpert() {
		return expert;
	}

	public void setExpert(QaExperts expert) {
		this.expert = expert;
	}

	public void setAnswers(List<Answer> answers){
    	this.answers = answers;
    }
    
    public List<Answer> getAnswers(){
    	return answers;
    }
    
    public UserProfile getUserProfile() {
        return userProfile;
    }

    public void setUserProfile(UserProfile userProfile) {
        this.userProfile = userProfile;
    }

	public Question() {}
}